﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace ZhimeiSoft.CharmManager.DOL
{
    public class DBEntityCustomerServiceItemReservationTime : DBEntityBase
    {
        public override string GetTableName()
        {
            return "CUSTOMERSERVICEITEMRESERVATIONTIME";
        }
        public DBEntityCustomerServiceItemReservationTime()
            : base()
        {
        }
        public DBEntityCustomerServiceItemReservationTime(DataRow drRow)
        {
            this.CUSTOMERSERVICEITEMDETAILID  = Convert.ToInt32(drRow[DBEntityCustomerServiceItemReservationTime.FieldName.CUSTOMERSERVICEITEMDETAILID]);
	        this.CSEQNUM = Convert.ToInt32(drRow[DBEntityCustomerServiceItemReservationTime.FieldName.CSEQNUM]);
	        this.CDAYS = Convert.ToInt32(drRow[DBEntityCustomerServiceItemReservationTime.FieldName.CDAYS]);
            this.CUSTOMERSERVICEITEMID = Convert.ToInt32(drRow[DBEntityCustomerServiceItemReservationTime.FieldName.CUSTOMERSERVICEITEMID]);
	        this.CMEMO = drRow[DBEntityCustomerServiceItemReservationTime.FieldName.CMEMO].ToString();
        }
        /// <summary>
        /// 会员服务项目明细ID
        /// </summary>
        public int CUSTOMERSERVICEITEMDETAILID { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public int CSEQNUM { get; set; }
        /// <summary>
        /// 间隔天数
        /// </summary>
        public int CDAYS { get; set; }
        /// <summary>
        /// 会员服务项目预约时间表
        /// </summary>
        public int CUSTOMERSERVICEITEMID { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string CMEMO { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public static class FieldName
        {
            /// <summary>
            /// 会员服务项目明细ID
            /// </summary>
            public const string CUSTOMERSERVICEITEMDETAILID = "CUSTOMERSERVICEITEMDETAILID";
            /// <summary>
            /// 序号
            /// </summary>
            public const string CSEQNUM = "CSEQNUM";
            /// <summary>
            /// 间隔天数
            /// </summary>
            public const string CDAYS = "CDAYS";
            /// <summary>
            /// 会员服务项目预约时间表
            /// </summary>
            public const string CUSTOMERSERVICEITEMID = "CUSTOMERSERVICEITEMID";
            /// <summary>
            /// 备注
            /// </summary>
            public const string CMEMO = "CMEMO";
        }
    }
}
